<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/include/page.jsp"%>
<!doctype html>
<html class="no-js" lang="en">
	<head>
		<title>登陆页面 - 美妆产品销售系统</title>
		<%@ include file="/common/include/head_title.jsp" %>
	</head>
	<body>
		<jsp:include page="/IndexHeadServlet">
			<jsp:param value="header" name="method"/>
		</jsp:include>
		<!-- Page Content Wraper Area Start -->
		<section class="page-content-wrapper login-area ptb-100">
			<div class="container">
				<div class="row">
					<div class="col-md-6 col-lg-6 col-sm-6 res-mb-25">
						<div class="account-info">
							<form action="${rootPath }/NoLoginServlet?method=loginSubmit" method="post">
								<div class="form-fields">
									<h2>登陆</h2>
									<p>
										<label>邮箱: <span
											class="required">*</span>
										</label> <input type="text" name="email" value="${email }">
									</p>
									<p>
										<label>密码:<span class="required">*</span>
										</label> <input type="password" name="password">
									</p>
									<p>
										<label>验证码:<span class="required">*</span>
										</label>
										<input type="text" name="rand" placeholder="验证码" size="4" maxlength="4" value="0715" style="width: 150px">
										<a title="看不清，换一张" onclick="return refreshCode('imgCode')" href="#">
											<img id="imgCode" width="100" height="50" src="${rootPath }/CommonServlet?method=code" title="看不清，换一张" alt="看不清，换一张">
										</a>
									</p>
									<p>
										${response.info }
									</p>
								</div>
								<div class="form-action">
									<!-- <label>
										<a href="#" class="lost_password">Lost your password?</a>
										<input type="checkbox"> Remember me
									</label>  -->
									<input value="登陆" type="submit">
								</div>
							</form>
						</div>
					</div>
					<div class="col-md-6 col-lg-6 col-sm-6">
						<form action="${rootPath }/NoLoginServlet?method=registerSubmit" method="post">
							<div class="form-fields">
								<h2>注册</h2>
								<p>
									<label>邮箱: <span class="required">*</span></label>
									<input type="text" id="email" name="email" placeholder="邮箱">
								</p>
								<p>
									<label>密码: <span class="required">*</span></label>
									<input type="password" id="password" name="password" placeholder="密码">
								</p>
								<p>
									<label>确认密码: <span class="required">*</span></label>
									<input type="password" id="confirmPass" name="confirmPass" placeholder="密码">
								</p>
								<p>
									<label>验证码:<span class="required">*</span>
									</label>
									<input type="text" name="rand" placeholder="验证码" size="4" maxlength="4" value="0715" style="width: 150px">
									<a title="看不清，换一张" onclick="return refreshCode('imgCode')" href="#">
										<img id="imgCode" width="100" height="50" src="${rootPath }/CommonServlet?method=code" title="看不清，换一张" alt="看不清，换一张">
									</a>
								</p>
								<p>
									${response.info }
								</p>
							</div>
							<div class="form-action">
								<input value="注册" type="submit">
							</div>
						</form>
					</div>
				</div>
			</div>
		</section>
		<!-- Page Content Wraper Area End -->
		<%@ include file="/common/include/head_footer.jsp" %>
	</body>
</html>